home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Developer & Web Development Tools / Twistpad 1.64 / Setup.exe / $APPDATA / Carthago / Twistpad / Syntax / asp.sdf < prev    next >
Text File  |  2007-07-08  |  9KB  |  400 lines

  1. ;Active Server Pages Syntax highlight Script for Twistpad
  2. ;1998 - 2007 ⌐ Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=Active Server Pages
  6. Extensions=asp
  7. Functions=<[Hh][1-6]|(?i)<head|(?i)<body|(?i)<table
  8. ;Spell Everything
  9. Spelling=1
  10. ;Except when a word is in this Contexts:
  11. SpellingContexts=1;3;4;10;12;13;14;100;101;102;103;104
  12. ;delimiters:
  13. delimiters=?%+&*=<>|!~^,.:;(){}#*"][\'/
  14. SnippetFile=HTML Tags.tsf|HtmlChars.tsf|JavaScript.tsf
  15. CommentChar=<!--
  16. CommentCharEnd=-->
  17. Brackets=({
  18.  
  19. ;make sure html comment is before the tag definition
  20. [ssHTMLComment]
  21. Type=StartStop
  22. Context=2
  23. Priority=10
  24. Scope=0
  25. WholeWordOnly=0
  26. First=<!--
  27. Last=-->
  28. Background=Default
  29. Foreground=C0C0C0
  30. Italic=1
  31. Outline=1
  32.  
  33. [ASP]
  34. Type=startstop
  35. Context=15
  36. Priority=11
  37. Scope=0
  38. WholeWordOnly=0
  39. first=<%
  40. last=%>
  41. Background=FFFFAD
  42. Foreground=default 
  43. outline=1
  44.  
  45. [ssScripts]
  46. Type=startstop
  47. Context=4
  48. Priority=8
  49. Scope=1
  50. first=SCRIPT
  51. last=/SCRIPT
  52. Background=F9F9F9
  53. Foreground=default
  54. WholeWordOnly=1
  55. Outline=1
  56.  
  57. [ssStyle]
  58. Type=startstop
  59. Context=12
  60. Priority=9
  61. Scope=0
  62. WholeWordOnly=0
  63. first=<STYLE
  64. last=</STYLE
  65. Background=FFFFF2
  66. Foreground=800000
  67. Outline=1
  68.  
  69. [ssTag]
  70. Type=StartStop
  71. Context=1
  72. Priority=7
  73. Scope=0
  74. WholeWordOnly=0
  75. First=<
  76. Last=>
  77. Background=Default
  78. Foreground=333399
  79.  
  80. [ssHTMLString]
  81. Type=StartStop
  82. Context=3
  83. Priority=19
  84. Scope=1
  85. WholeWordOnly=0
  86. First="
  87. Last="
  88. Background=Default
  89. Foreground=0000FF
  90.  
  91. [ssScriptsComment]
  92. Type=startstop
  93. Context=8
  94. Priority=9
  95. Scope=4
  96. WholeWordOnly=0
  97. first=//
  98. last=
  99. Background=F9F9F9
  100. Foreground=008000
  101. escapeChar=\
  102.  
  103. [ssScriptsString]
  104. Type=startstop
  105. Context=9
  106. Priority=19
  107. Scope=4
  108. WholeWordOnly=0
  109. first="
  110. last="
  111. Background=F9F9F9
  112. Foreground=408080
  113. escapeChar=\
  114.  
  115. [ssScriptsString2]
  116. Type=startstop
  117. Context=10
  118. Priority=19
  119. Scope=4
  120. WholeWordOnly=0
  121. first='
  122. last='
  123. Background=F9F9F9
  124. Foreground=408080
  125. escapeChar=\
  126.  
  127. [ssScriptsMultilinecomment]
  128. Type=startstop
  129. Context=11
  130. Priority=9
  131. Scope=4
  132. WholeWordOnly=0
  133. first=/*
  134. last=*/
  135. Background=F9F9F9
  136. Foreground=008000
  137. Outline=1
  138. escapeChar=\
  139.  
  140. [ssScriptsBrackets]
  141. Type=startstop
  142. Context=4
  143. Priority=8
  144. Scope=4
  145. WholeWordOnly=0
  146. first={
  147. last=}
  148. Background=F9F9F9
  149. Foreground=default
  150. Outline=1
  151. smart=1
  152.  
  153. [ssStyleBrack]
  154. Type=startstop
  155. Context=13
  156. Priority=9
  157. Scope=12
  158. WholeWordOnly=0
  159. first={
  160. last=}
  161. Background=FFFFF2
  162. Foreground=0000FF
  163. Outline=1
  164. smart=0
  165.  
  166. [ssStylesMultilinecomment]
  167. Type=startstop
  168. Context=14
  169. Priority=9
  170. Scope=12
  171. WholeWordOnly=0
  172. first=/*
  173. last=*/
  174. Background=FFFFF2
  175. Foreground=008000
  176. Outline=1
  177.  
  178. [Asp Comment]
  179. Type=StartStop
  180. Context=16
  181. Priority=8
  182. Scope=15
  183. WholeWordOnly=0
  184. First='
  185. Last=
  186. Background=FFFFAD
  187. Foreground=008000
  188.  
  189. [Asp String]
  190. Type=StartStop
  191. Context=17
  192. Priority=11
  193. Scope=15
  194. WholeWordOnly=0
  195. First="
  196. Last="
  197. Background=FFFFAD
  198. Foreground=408080
  199.  
  200. [kTagNames]
  201. Type=keyword
  202. Context=100
  203. Scope=1
  204. Priority=7
  205. WholeWordOnly=1
  206. Keyword1=!DOCTYPE;A;ABBR;ACRONYM;ADDRESS;APPLET;AREA;B;BASE;BASEFONT;BDO;BGSOUND;BIG;BLINK;BLOCKQUOTE;BODY;BR;BUTTON;CAPTION;
  207. Keyword2=CENTER;CITE;CODE;COL;COLGROUP;DD;DEL;DFN;DIR;DIV;DL;DT;EM;EMBED;FIELDSET;FONT;FORM;FRAME;FRAMESET;H1;H2;H3;H4;H5;H6;HEAD
  208. Keyword3=HR;HTML;I;IFRAME;ILAYER;IMG;INPUT;INS;ISINDEX;KBD;KEYGEN;LABEL;LAYER;LEGEND;LI;LINK;LISTING;MAP;MENU;META;MULTICOL;NOBR
  209. Keyword4=NOEMBED;NOFRAMES;NOLAYER;NOSCRIPT;OBJECT;OL;OPTGROUP;OPTION;P;PARAM;PLAINTEXT;PRE;Q;S;SAMP;SCRIPT;SELECT;SERVER;SMALL;
  210. Keyword5=SOUND;SPACER;SPAN;STRIKE;STRONG;STYLE;SUB;SUP;TBODY;TEXTAREA;TITLE;TT;U;UL;VAR;WBR;XMP;TABLE
  211. Keyword6=TD;TR
  212. Keyword7=
  213. Keyword8=
  214. Keyword9=
  215. Keyword10=
  216. Keyword11=
  217. Keyword12=
  218. Keyword13=
  219. Keyword14=
  220. Keyword15=
  221. Keyword16=
  222. Background=default
  223. Foreground=800000
  224. bold=0
  225.  
  226. [kTagAttributes]
  227. Type=keyword
  228. Context=101
  229. Scope=1
  230. Priority=6
  231. WholeWordOnly=1
  232. Keyword1=TFOOT;TH;THEAD;ACCESSKEY;ACTION;ALIGN;ALINK;ALT;BACKGROUND;BALANCE;BEHAVIOR;BGCOLOR;BGPROPERTIES;BORDER;BORDERCOLOR
  233. Keyword2=BORDERCOLORDARK;ORDERCOLORLIGHT;BOTTOMMARGIN;CELLPADDING;CELLSPACING;CHECKED;CLASS;CLASSID;CLEAR;CODE;CODEBASE;CODETYPE
  234. Keyword3=COLOR;COLS;COLSPAN;COMPACT;CONTENT;CONTROLS;COORDS;DATA;DATAFLD;DATAFORMATAS;DATASRC;DIRECTION;DISABLED;DYNSRC;ENCTYPE
  235. Keyword4=EVENT;FACE;FOR;FRAME;FRAMEBORDER;FRAMESPACING;HEIGHT;HIDDEN;HREF;HSPACE;HTTP-EQUIV;ID;ISMAP;LANG;LANGUAGE;LEFTMARGIN
  236. Keyword5=LINK;LOOP;LOWSRC;MARGINHEIGHT;MARGINWIDTH;MAXLENGTH;MAYSCRIPT;METHOD;METHODS;MULTIPLE;NAME;NOHREF;NORESIZE;NOSHADE;NOWRAP
  237. Keyword6=PALETTE;PLUGINSPAGE;PUBLIC;READONLY;REL;REV;RIGHTMARGIN;ROWS;ROWSPAN;RULES;SCROLL;SCROLLAMOUNT;SCROLLDELAY;SCROLLING;SELECTED
  238. Keyword7=SHAPE;SIZE;SPAN;SRC;START;STYLE;TABINDEX;TARGET;TEXT;TITLE;TOPMARGIN;TRUESPEED;TYPE;URL;URN;USEMAP;VALIGN;VALUE;VLINK;
  239. Keyword8=VOLUME;VRML;VSPACE;WIDTH;WRAP
  240. Keyword9=
  241. Keyword10=
  242. Keyword11=
  243. Keyword12=
  244. Keyword13=
  245. Keyword14=
  246. Keyword15=
  247. Keyword16=
  248. Background=default
  249. Foreground=FF0000
  250.  
  251. [kSimbols]
  252. Type=keyword
  253. Context=102
  254. Scope=0
  255. Priority=6
  256. Keyword1=><Ð&ðÄËÏÖÜäëï ö"üÿ
  257. Keyword2=ÆÂÅÊÎÔÞÛâæåêîôßþû
  258. Keyword3=ÁÀÃÇÉÈÍÌÑÓÒØÕÚÙÝáàãçéèíìñóòøõúùý
  259. Background=Default
  260. Foreground=808080
  261.  
  262. [kScriptKeywords]
  263. Type=keyword
  264. Context=103
  265. Scope=4
  266. Priority=8
  267. WholeWordOnly=1
  268. Keyword1=And;As;Boolean;ByRef;Byte;ByVal;Call;Case;Class;Const;Currency;Debug;Dim;Do;Double;Each;Else;ElseIf;Empty;End;EndIf
  269. Keyword2=Enum;Eqv;Event;Exit;False;For;Function;Get;GoTo;If;Imp;Implements;In;Integer;Is;Let;Like;Long;Loop;LSet;Me;Mod;New;
  270. Keyword3=Next;Not;Nothing;Null;On;Option;Optional;Or;ParamArray;Preserve;Private;Public;Raise;Event;ReDim;Rem;Resume;RSet;
  271. Keyword4=Select;Set;Shared;Single;Static;Stop;Sub;Then;To;True;Type;TypeOf;Until;Variant;Wend;While;With;Xor
  272. Keyword5=runat;language;var
  273. Keyword6=
  274. Keyword7=
  275. Keyword8=
  276. Keyword9=
  277. Keyword10=
  278. Keyword11=
  279. Keyword12=
  280. Keyword13=
  281. Keyword14=
  282. Keyword15=
  283. Keyword16=
  284. Background=F9F9F9
  285. Foreground=0000FF
  286.  
  287. [kScriptKeywords2]
  288. Type=keyword
  289. Context=103
  290. Scope=4
  291. Priority=6
  292. WholeWordOnly=1
  293. Keyword1=script
  294. Background=default
  295. Foreground=800000
  296.  
  297. [kStyleKeywords]
  298. Type=keyword
  299. Context=104
  300. Scope=12
  301. Priority=6
  302. WholeWordOnly=1
  303. Keyword1=style
  304. Keyword2=
  305. Keyword3=
  306. Keyword4=
  307. Keyword5=
  308. Keyword6=
  309. Keyword7=
  310. Keyword8=
  311. Keyword9=
  312. Keyword10=
  313. Keyword11=
  314. Keyword12=
  315. Keyword13=
  316. Keyword14=
  317. Keyword15=
  318. Keyword16=
  319. Background=FFFFF2
  320. Foreground=800000
  321.  
  322. [kStyleKeywords2]
  323. Type=keyword
  324. Context=104
  325. Scope=12
  326. Priority=6
  327. WholeWordOnly=1
  328. Keyword1=type
  329. Keyword2=
  330. Keyword3=
  331. Keyword4=
  332. Keyword5=
  333. Keyword6=
  334. Keyword7=
  335. Keyword8=
  336. Keyword9=
  337. Keyword10=
  338. Keyword11=
  339. Keyword12=
  340. Keyword13=
  341. Keyword14=
  342. Keyword15=
  343. Keyword16=
  344. Background=FFFFF2
  345. Foreground=FF0000
  346.  
  347. [kCSSKeys]
  348. Type=keyword
  349. Context=105
  350. Scope=13
  351. Priority=10
  352. WholeWordOnly=1
  353. Keyword1=background;background-attachment;background-color;background-image;background-position;background-repeat;border;border-bottom;border-bottom-color;
  354. Keyword2=border-bottom-style;border-bottom-width;border-collapse;border-color;border-left;border-left-color;border-left-style;border-left-width;border-right;
  355. Keyword3=border-right-color;border-right-style;border-right-width;border-spacing;border-style;border-top;border-top-color;border-top-style;border-top-width;border-width;
  356. Keyword4=bottom;caption-side;clear;clip;color;content;counter-increment;counter-reset;cursor;direction;display;display;empty-cells;float;font;font-family;font-size;font-size-adjust;
  357. Keyword5=font-stretch;font-style;font-variant;font-weight;height;left;letter-spacing;line-height;list-style;list-style-image;list-style-position;list-style-type;margin;margin-bottom;
  358. Keyword6=margin-left;margin-right;margin-top;marker-offset;max-height;max-width;min-height;min-width;outline;outline-color;outline-style;outline-width;overflow;padding;padding-bottom;
  359. Keyword7=padding-left;padding-right;padding-top;position;quotes;right;table-layout;text-align;text-decoration;text-indent;text-shadow;text-transform;top;unicode-bidi;vertical-align;visibility;white-space;width;word-spacing;z-index;
  360. ;Keyword8=line;height;font;size;family
  361. Background=FFFFF2
  362. Foreground=FF0000   
  363.  
  364. [ASP Char]
  365. Type=keyword
  366. Context=105
  367. Priority=10
  368. Scope=15
  369. WholeWordOnly=0
  370. Keyword1=<%
  371. Keyword2=%>
  372. Background=FFFFAD
  373. Foreground=default
  374.  
  375. [Asp Keywords]
  376. Type=keyword
  377. Context=106
  378. Scope=15
  379. Priority=6
  380. WholeWordOnly=1
  381. Keyword1=And;As;Boolean;ByRef;Byte;ByVal;Call;Case;Class;Const;Currency;Debug;Dim;Do;Double;Each;Else;ElseIf;Empty;End;EndIf
  382. Keyword2=Enum;Eqv;Event;Exit;False;For;Function;Get;GoTo;If;Imp;Implements;In;Integer;Is;Let;Like;Long;Loop;LSet;Me;Mod;New;
  383. Keyword3=Next;Not;Nothing;Null;On;Option;Optional;Or;ParamArray;Preserve;Private;Public;Raise;Event;ReDim;Rem;Resume;RSet;
  384. Keyword4=Select;Set;Shared;Single;Static;Stop;Sub;Then;To;True;Type;TypeOf;Until;Variant;Wend;While;With;Xor
  385. Keyword5=runat;script;language;ubound
  386. Keyword6=
  387. Keyword7=
  388. Keyword8=
  389. Keyword9=
  390. Keyword10=
  391. Keyword11=
  392. Keyword12=
  393. Keyword13=
  394. Keyword14=
  395. Keyword15=
  396. Keyword16=
  397. Background=FFFFAD
  398. Foreground=0000FF
  399. bold=0
  400.